import requests

def get_header():
    data = {"username":"llllllllli","password":"123456"}
    resp = requests.post(url="http://5912.org:6666/api/login", headers={"Content-Type": "application/json"}, json=data)
    a = resp.json().get("token")
    return a

if __name__ == '__main__':
    print(get_header())